package top.vains.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 自定义全局异常处理
 *
 * @author vains
 * @version 1.0
 * @since 2020/3/4 19:05
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CustomerException extends RuntimeException {

    /**
     * 异常信息
     */
    private String message;

}
